Rashi on Psalms
Because I considered all precepts of all things upright All precepts, everything that You commanded in your Torah.
Rashi on Psalms
I considered upright Heb. ישרתי. They were upright in my eyes, and I said about them that they are upright. Because of this, I deserve that You forgive me and favor me.